Skip to content

Conversation

Cyanty
Copy link

@Cyanty Cyanty commented Jun 13, 2025

According to the documentation, some outdated methods have emerged from using Chat Memory:

  • Update the document information and replace the unavailable creation method of ChatMemoryRepository.
  • Increase the create function to create Neo4jChatMemoryRepository, this way to manually create the way (Instead of the way of "new Object").

@Cyanty Cyanty closed this Jun 13, 2025
@Cyanty Cyanty reopened this Jun 13, 2025
Cyanty added 3 commits June 13, 2025 17:44
…ryRepository

- Update the document information and replace the unavailable creation method of ChatMemoryRepository.
- Increase the create function to create Neo4jChatMemoryRepository, this way to manually create the way.

Signed-off-by: Caiyu Liu <[email protected]>
Signed-off-by: Cyanty <[email protected]>
…ryRepository

- Update the document information and replace the unavailable creation method of ChatMemoryRepository.
- Increase the create function to create Neo4jChatMemoryRepository, this way to manually create the way.

Signed-off-by: Caiyu Liu <[email protected]>
Signed-off-by: Cyanty <[email protected]>
…ryRepository

- Update the document information and replace the unavailable creation method of ChatMemoryRepository.
- Increase the create function to create Neo4jChatMemoryRepository, this way to manually create the way.

Signed-off-by: Cyanty <[email protected]>
@@ -56,6 +56,10 @@ public Neo4jChatMemoryRepository(Neo4jChatMemoryRepositoryConfig config) {
this.config = config;
}

public static Neo4jChatMemoryRepository create(Neo4jChatMemoryRepositoryConfig conf) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, wouldn't it be better to use Builder.builder()?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, let me modify that

…ryRepository

- Update the document information and replace the unavailable creation method of ChatMemoryRepository.
- Increase the builder function to create Neo4jChatMemoryRepository, this way to manually create the way.

Signed-off-by: Cyanty <[email protected]>
@Cyanty Cyanty requested a review from yuluo-yx June 18, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants